/* 全局样式，需要在 main.js 中引入 */
html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
/* ------------登录后每个模块的卡片样式--------- */
.el-card {
  margin-top: 10px;
  padding: 0 20px;
}
/* ------------弹出对话框内的表单输入框右边距---------- */
.add_form {
  padding-right: 30px;
}
/* ------------级联选择框样式------------ */
.el-cascader-menu {
  height: 250px;
}
.el-cascader-menu .el-scrollbar__wrap {
  overflow-x: hidden;
}
/* ------------分页器样式------------ */
.el-pagination {
  margin-top: 26px;
}
/*------------------------------------------------------*/
/* 登录组件 */
.login_cont {
  width: 100%;
  height: 100%;
  background-color: #04797c;
}
.login_cont .login_box {
  width: 450px;
  height: 300px;
  background-color: #fff;
  border-radius: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -225px;
  margin-top: -150px;
}
.login_cont .login_box .avatar_box {
  width: 150px;
  height: 150px;
  box-shadow: 0 0 10px #ddd;
  border-radius: 50%;
  border: 5px solid #eee;
  padding: 10px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -65%);
}
.login_cont .login_box .avatar_box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #eee;
}
.login_cont .login_box .log_input {
  width: 100%;
  height: 160px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 15%;
}
.login_cont .login_box .log_input .el-form-item {
  width: 85%;
  margin-bottom: 0;
}
.login_cont .login_box .log_but {
  display: flex;
  justify-content: center;
}
.login_cont .login_box .log_but button {
  width: 80px;
  height: 40px;
  font-size: 16px;
  margin: 6px 15px 0 15px;
  font-weight: bold;
}
/*------------------------------------------------------*/
/* 登录后-左边侧边栏组件 */
.home_container {
  height: 100%;
}
.home_container .el-header {
  background-color: #504f4f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home_container .el-header .logoP {
  height: 100%;
  display: flex;
  align-items: center;
}
.home_container .el-header .logoP img {
  width: 60px;
  height: 60px;
  border-radius: 20%;
}
.home_container .el-header .logoP span {
  color: #fff;
  font-weight: bold;
  font-size: 26px;
  margin-left: 20px;
}
.home_container .el-header .el-button {
  font-weight: bold;
  font-size: 16px;
}
.home_container .el-aside {
  background-color: #333744;
}
.home_container .el-aside .tog_but {
  background-color: #4a5064;
  line-height: 35px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.2em;
}
.home_container .el-aside .li_width {
  width: 200px;
}
.home_container .el-main {
  background-color: #eaedf1;
}
/*------------------------------------------------------*/
/* 登录后-用户列表组件 */
.users_cont .el-table {
  margin-top: 20px;
  font-size: 12px;
}
.users_cont .el-table .table_but {
  display: flex;
  justify-content: space-evenly;
}
.users_cont .allot_p {
  display: inline-block;
}
/*------------------------------------------------------*/
/* 登录后-权限列表组件 */
.rights_cont .el-table {
  margin-top: 20px;
  font-size: 12px;
}
/*------------------------------------------------------*/
/* 登录后-角色列表组件 */
.roles_cont .el-card .el-table {
  margin-top: 20px;
  font-size: 12px;
}
.roles_cont .el-card .el-table .el-tag {
  margin: 20px 2px 20px 20px;
}
.roles_cont .el-card .expand_tr {
  padding: 30px;
}
.roles_cont .el-card .row_bottom {
  border-bottom: 1px solid #d8d8d8;
}
.roles_cont .el-card .row_top {
  border-top: 1px solid #d8d8d8;
}
.roles_cont .el-card .row_display {
  display: flex;
  align-items: center;
}
.roles_cont .el-card .row_display1 {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.roles_cont .el-card .row_display2 {
  display: flex;
  align-items: center;
  margin-right: 15px;
}
/*------------------------------------------------------*/
/* 登录后-商品分类组件 */
.cate_cont .el-card {
  /*联级下拉选择框*/
}
.cate_cont .el-card .el-table {
  margin-top: 20px;
}
.cate_cont .el-card .el-cascader {
  width: 100%;
}
/*------------------------------------------------------*/
/* 登录后-分类参数组件 */
.params_cont .el-row {
  margin-top: 20px;
}
.params_cont .el-table {
  margin-top: 20px;
}
.params_cont .el-table .el-tag {
  margin: 12px 18px;
}
.params_cont .el-table .input-new-tag {
  width: 120px;
  margin: 12px 18px;
}
.params_cont .el-table .button-new-tag {
  margin: 12px 18px;
}
/*------------------------------------------------------*/
/* 登录后-商品列表组件 */
.list_goods_cont .el-table {
  margin-top: 26px;
  font-size: 12px;
}
/*------------------------------------------------------*/
/* 登录后-商品列表组件--添加商品组件 */
.addListGoods_cont .el-dialog {
  background-color: #f8f6f6;
}
.addListGoods_cont .el-dialog .el-dialog__body {
  text-align: center;
}
.addListGoods_cont .el-dialog .el-dialog__body img {
  width: 100%;
}
.addListGoods_cont .ql-editor {
  min-height: 200px;
}
.addListGoods_cont .tabAddButton {
  height: 200px;
}
.addListGoods_cont .tabAddButton .el-button {
  left: 50%;
  position: relative;
  margin-left: -60px;
  top: 60px;
}
.addListGoods_cont .tabAddButton i.el-icon-circle-plus-outline {
  margin-right: 6px;
}
.addListGoods_cont .el-steps {
  margin: 26px 0 35px;
}
.addListGoods_cont .el-steps .el-step__title {
  font-size: 12px;
}
.addListGoods_cont .el-form-item {
  margin-left: 20px;
}
.addListGoods_cont .el-form-item input {
  border: 2px solid #b9b9b9;
}
.addListGoods_cont .el-form-item .add_cascader {
  width: 100%;
}
.addListGoods_cont .checkbox_form_item {
  border-bottom: 1px solid #bcbcbc;
  font-weight: bold;
}
.addListGoods_cont .checkbox_form_item .el-checkbox {
  margin: 10px 15px 10px 0px !important;
}
/*------------------------------------------------------*/
/* 登录后-订单管理-订单列表组件 */
.order_cont .el-table {
  margin-top: 25px;
  font-size: 12px;
}
.order_cont .el-dialog .el-form .el-cascader {
  width: 100%;
}
.order_cont .el-dialog .el-timeline {
  font-size: 12px;
}
